﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Privosoft.DataFrame.DomainObjects
{

    //[StringValue] [nvarchar](100) SPARSE  NULL,
    //[DoubleValue] [decimal](18, 4) SPARSE  NULL,
    //[LongValue] [bigint] SPARSE  NULL,
    //[DateTimeValue] [datetime] SPARSE  NULL,
    //[BooleanValue] [bit] SPARSE  NULL,
    //[ColumnId] [int] NOT NULL,
    //[DataFrameId] [int] NOT NULL,
    //[RowIndex] [int] NOT NULL) ON [PRIMARY]
    public enum ItemDataTypes
    {
        StringValue, DoubleValue, LongValue, DateTimeValue, BooleanValue
    }

    public static class ItemDataTypesHelper
    {
        public static string ToText(this ItemDataTypes type)
        {
            return Enum.GetName(typeof (ItemDataTypes), type);
        }
    }
}
